#!/bin/sh
set -x

here=`pwd`
cd ~/workspace/Sked/web/content
rm /tmp/sked.zip
zip /tmp/sked.zip . -r -x \*com.systasis.sked.SkedJUnit/* \*.svn/* \*WEB-INF/*
cd $here

mnt gar
rm -r /mnt/grandadventuresranch/web/content/sked.save
mv /mnt/grandadventuresranch/web/content/sked /mnt/grandadventuresranch/web/content/sked.save
unzip /tmp/sked.zip -d /mnt/grandadventuresranch/web/content/
mnt -u gar
set +x
